package com.joey.myStaticFactoryWithArgs;

import org.springframework.context.ApplicationContext;
import org.springframework.context.support.ClassPathXmlApplicationContext;

public class start {
    public static void main(String[] args) {
        ApplicationContext context = new ClassPathXmlApplicationContext("myStaticFactoryWithArgs.xml");
        Say say = (Say) context.getBean("say");
        say.sayHello();
    }
}
